package com.monitor.model;

import java.util.Date;

public class MonitorRecord {
	private int id;
	/**
	 * 温度
	 */
	private int temperature;
	/**
	 * 湿度
	 */
	private int humidity;
	/**
	 * 烟雾 状态值 0 正常，1危险
	 */
	private int smoke;
	private Date recordTime;
	/**
	 * 默认 0正常数据 ，1危险值数据
	 */
	private int warning;
	private int sensorId;
	private String name;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getTemperature() {
		return temperature;
	}
	public void setTemperature(int temperature) {
		this.temperature = temperature;
	}
	public int getHumidity() {
		return humidity;
	}
	public void setHumidity(int humidity) {
		this.humidity = humidity;
	}
	public int getSmoke() {
		return smoke;
	}
	public void setSmoke(int smoke) {
		this.smoke = smoke;
	}
	public Date getRecordTime() {
		return recordTime;
	}
	public void setRecordTime(Date recordTime) {
		this.recordTime = recordTime;
	}
	public int getWarning() {
		return warning;
	}
	public void setWarning(int warning) {
		this.warning = warning;
	}
	public int getSensorId() {
		return sensorId;
	}
	public void setSensorId(int sensorId) {
		this.sensorId = sensorId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
